package com.joinlabs.mapper;

import java.util.List;

import com.joinlabs.entity.Forwarding;

public interface ForwardingMapper {
    int deleteByPrimaryKey(Long forwardingId);

    int insert(Forwarding record);
 
    int insertSelective(Forwarding record);

    Forwarding selectByPrimaryKey(Long forwardingId);

    int updateByPrimaryKeySelective(Forwarding record);

    int updateByPrimaryKey(Forwarding record);
    /**
     *    查询所有转发微博
     * @return
     */
    List<Forwarding> selectAllForward();
    /**
     * 转发一条微博
   * @param forward
   * @return
   */
	int insertforwarding(Forwarding forward);


}